package com.buercorp.wangyu.inter;
// 将 arryList 和 linkedList中共性方法进行抽取 保证体系的完整性
public interface List<E> {
    public int size();
    public boolean isEmpty();
    public boolean contains(E element);
    public void add(E element);
    public E get(int index);
    public E set(int index, E element);
    public void add(int index, E element);
    public E remove(int index);
    public int indexOf(E element);
    public void clear();
    public String toString();
}
